package third_program

import "file_explorer/model"

type api interface {
	RunCmd(name string, args ...string)
	OpenFile(path string)
	OpenPathWithDefaultFileExplorer(path string)
	OpenUrlsWithDefaultWebExplorer(urls []string)
	SearchByEverything(keyword string) ([]*model.FileInfo, error)
}

var obj = &apiImpl{}

func GetCaller() api {
	return obj
}
